package com.szbmyoubao.app.adapter

import android.view.LayoutInflater
import android.view.ViewGroup
import com.ellecity06.common.base.BaseAdapter
import com.ellecity06.cwhiskymall.databinding.ItemGoodGridBinding

/**
 * @author ellecity06
 * @time 2024/10/24 20:32
 * @des
 */
class GoodsAdapter : BaseAdapter<String, ItemGoodGridBinding>() {

    override fun inflateBinding(layoutInflater: LayoutInflater, parent: ViewGroup, viewType: Int): ItemGoodGridBinding {
        return ItemGoodGridBinding.inflate(layoutInflater, parent, false)
    }

    override fun isFullSpanItem(itemType: Int): Boolean {
        if (itemType != 0) return true
        return super.isFullSpanItem(itemType)
    }

    override fun convert(binding: ItemGoodGridBinding, position: Int, item: String) {

    }


}